package forum.service.rest.api;

import com.foreveross.springboot.dubbo.utils.Payload;
import forum.domain.User;

import java.util.Map;

/**
 * Created by Administrator on 2017/4/1.
 */
public interface UserRestService {

    Payload getUserList(int page, int size, String sort, String operation, String key, String value,String token);

    Payload getUserById( Integer id);

    Payload createUser(String token,User user);

    Payload updateUserById(String token,User user);

    Payload deleteUserByIds( String token,Map<String, String[]> map);

}
